﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VK.Comm.TransactSql;

namespace VK.Casemeet.Elites
{
    public static class EliteBLL
    {
        public static int GetEliteCount(IList<Condition> conditionArray)
        {
            return EliteDAL.GetEliteCount(conditionArray);
        }

        public static List<EliteEntity> GetEliteList(int startRecordIndex, int endRecordIndex, IList<Condition> conditionArray, string sortField, SortMode sortMode)
        {
            return EliteDAL.GetEliteList(startRecordIndex, endRecordIndex, conditionArray, sortField, sortMode);
        }

        public static EliteEntity GetElite(int articleID)
        {
            return EliteDAL.GetElite(articleID);
        }

        public static int InsertElite(EliteEntity article)
        {
            return EliteDAL.InsertElite(article);
        }

        public static int UpdateElite(EliteEntity article)
        {
            return EliteDAL.UpdateElite(article);
        }

        public static int DeleteElite(int articleID)
        {
            return EliteDAL.DeleteElite(articleID);
        }

        public static int SetEliteEnable(int articleID)
        {
            return EliteDAL.SetEliteEnable(articleID);
        }

        public static int HitElite(int articleID)
        {
            return EliteDAL.HitElite(articleID);
        }
    }
}
